﻿using StoryTeller.Domain;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StoryTeller.Infrastructure.DataAccess.DAL.Base
{
    public interface IDAL<T> where T : BaseDomain
    {
        void Insert(T entidade);
        void Update(T entidade);
        void Delete(int id);
        ICollection<T> Select();        
        T Select(int id);
    }
}
